import request from '@/utils/request'

export default {
  uploadAvatar(file) {
    return request({
      url: `/oss/upload/file`,
      method: 'post',
      data: {
        file
      }
    })
  },
}
